package com.asion.vmovie.ui.MVPContract;

import com.asion.vmovie.beans.DetialsBean;
import com.asion.vmovie.ui.MVPModel.BaseModel;
import com.asion.vmovie.ui.MVPPresenter.BasePresenter;
import com.asion.vmovie.ui.MVPView.BaseView;

/**
 * Created by asion on 16-10-19.
 */

public interface PingDaoDetialContract {

    interface Model extends BaseModel {
        void getPingDaoDetialData(int p,int size,String cateid,OnGetPingDaoDetialSuccess onGetPingDaoDetialSuccess);
    }

    interface View extends BaseView<DetialsBean> {

    }

    abstract class Presenter extends BasePresenter<View,Model> {
        public abstract void getPingDaoDetialData(int p,int size,String cateid);
    }

    interface OnGetPingDaoDetialSuccess{
        void onGetSuccess(DetialsBean detialsBean);
        void onGetError(Throwable throwable);
    }
}
